ADF.domControl.Datetime = function(parent) {
    ADF.domControl.Datetime.superclass.constructor.call(this, parent);
};

COM.util.defineClass(ADF.domControl.Datetime, ADF.domControl.BaseControl, {
    getLabel: function() {
        return "Datetime";
    },
    setADFFormat: function(format) {
        if (format) {
            $(this.domElement).attr({"ADFFormat":format,"placeholder":format});
        } else {
            $(this.domElement).removeAttr("ADFFormat").removeAttr("placeholder");
        }
    },
    _getDomElement: function(model) {
        var Datetime = COM.util.HTMLUtil.createELement('<input class="laydate-icon"/>');
        return Datetime[0];
    }

});